package com.groupbuying.payconsumer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.payconsumer.dao.PayAlipayResultDao;
import com.groupbuying.payconsumer.domain.PayAlipayResultDO;
import com.groupbuying.payconsumer.service.PayAlipayResultService;


@Service
public class PayAlipayResultServiceImpl implements PayAlipayResultService {
    @Autowired
    private PayAlipayResultDao payAlipayResultDao;

    @Override
    public PayAlipayResultDO get(String id) {
        return payAlipayResultDao.get(id);
    }

    @Override
    public List<PayAlipayResultDO> list(Map<String, Object> map) {
        return payAlipayResultDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return payAlipayResultDao.count(map);
    }

    @Override
    public int save(PayAlipayResultDO payAlipayResult) {
        return payAlipayResultDao.save(payAlipayResult);
    }

    @Override
    public int update(PayAlipayResultDO payAlipayResult) {
        return payAlipayResultDao.update(payAlipayResult);
    }

    @Override
    public int remove(String id) {
        return payAlipayResultDao.remove(id);
    }

    @Override
    public int batchRemove(String[] ids) {
        return payAlipayResultDao.batchRemove(ids);
    }

}
